package com.example.cart_system.service;

import com.example.cart_system.pojo.Cart;
import com.example.cart_system.pojo.GoodsInfo;

import java.util.List;

public interface CartService {
    public Boolean addCart(Cart cart);

    public Boolean addCnn(Cart cart);

    public Boolean reduceCnn(Cart cart);

    public List<GoodsInfo> getCartList(String usrid);

    public Boolean removeCart(String gid, String usrid);

    public void clearCart(String usrid);
}
